// Red Dot.cpp : main project file.

#include "stdafx.h"
#include "Form1.h"
#include "SplashScreen.h"

using namespace RedDot;
using namespace System::Threading;
[STAThreadAttribute]





int main(array<System::String ^> ^args)
{

	
	// Enabling Windows XP visual effects before any controls are created
	Application::EnableVisualStyles();
	Application::SetCompatibleTextRenderingDefault(false); 
		
	

	
	
	
	// Create the main window and run it
	if(args->Length==1){
	Application::Run(gcnew Form1(args[0]->ToString()));
		
	}
	else
		Application::Run(gcnew Form1());
		
	return 0;
}
